const m = require('./webpackConf/plugins.js');
const entrys = require('./webpackConf/entry.js');
const path = require('path');

module.exports = {
    entry: {
        'page/index/index' : entrys.index
    },
    output: {
        library: '',
        libraryTarget: 'umd',
        path: path.resolve(__dirname, 'pkg'),
        publicPath: '/pkg',
        filename: '[name].js',
    },
    resolve: require('./webpackConf/resolve.js'),
    context: __dirname,
    module: m.getTheOption,
    plugins: m.pluginArray
};
